#include <iostream>
#include <typeinfo>
using namespace std;

int main(void)
{
    //Verifying the default type of literals
    cout << "12 is " << 12 << endl;
    cout << "The size of char type is " << sizeof(char) << endl;  //1
    cout << "The size of 12.3 is " << sizeof(12.3) << endl;   //8
    cout << "The size of 23 is " << sizeof(23) << endl;      //4
    cout << "The size of \"Hello World\" is " << sizeof("Hello World") << endl;

    //Verify the default data type of character in C / C++
    decltype('A') y;
    decltype(10) z;
    cout << typeid(y).name() << endl;
    cout << typeid(z).name() << endl;
    //Solution: c, i

    return 0;
}